package com.yanqu.road.entity.activity.langyamemorial;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_activity_langya_memorial_build_data", desc = "全服祭奠记录")
public class CrossLangYaMemorialBuildData extends DataObject {

    @FieldTypeAnnotation(desc = "活动ID", select = true, update = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "编号", update = true)
    private long buildNo;

    @FieldTypeAnnotation(desc = "阁子类型, 1:黄金；2：普通")
    private int buildType;

    @FieldTypeAnnotation(desc = "玩家ID")
    private long userId;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public long getBuildNo() {
        return buildNo;
    }

    public void setBuildNo(long buildNo) {
        if(this.buildNo != buildNo) {
            this.buildNo = buildNo;
            setUpdateOption();
        }
    }

    public int getBuildType() {
        return buildType;
    }

    public void setBuildType(int buildType) {
        if(this.buildType != buildType) {
            this.buildType = buildType;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }
}
